package com.sise.service;

import com.sise.bean.DeleteDTO;

import javax.validation.constraints.Min;

/**
 * 作者：idea
 * 日期：2018/8/22
 * 描述：参数校验服务
 */
public interface ValidationService {

    @interface Save{}

    void save(ValidationParamter paramter);

    @interface Update{}

    void update(ValidationParamter paramter);

    DeleteDTO delete(@Min(value=1,message="id must bigger than 1")long id);



}
